package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public class Banner extends Model<Banner> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	/**
	 * 路径
	 */
	private String phth;
	/**
	 * 描述
	 */
	private String intro;
	/**
	 * 0 :停用 1：使用
	 */
	private Integer type;
	private String time;

	private String dinId;
	private Integer postion;

	@TableField(exist = false)
	private String dinName;
	@TableField(exist = false)
	private String types;

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	public String getDinName() {
		return dinName;
	}

	public void setDinName(String dinName) {
		this.dinName = dinName;
	}

	public Integer getPostion() {
		return postion;
	}

	public void setPostion(Integer postion) {
		this.postion = postion;
	}

	public String getDinId() {
		return dinId;
	}

	public void setDinId(String dinId) {
		this.dinId = dinId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhth() {
		return phth;
	}

	public void setPhth(String phth) {
		this.phth = phth;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Banner{" + "id=" + id + ", phth=" + phth + ", intro=" + intro + ", type=" + type + ", time=" + time
				+ "}";
	}
}
